import { TRectStruct, TRects } from './type';
import { getTextRect } from '../text/get-text-rect';

function formateRectSize(ctx: CanvasRenderingContext2D, rectValue: TRectStruct) {

}
export function drawRect(ctx: CanvasRenderingContext2D, value: TRects, width: number, height: number) {
    for(let i = 0; i < value.texts.length; i++) {

    }
}